package com.dt.dubai.mber.service;

import com.dt.dubai.mber.entity.MberCustomerAccountEntity;
import com.dt.dubai.mber.service.innate.MberCustomerAccountSerInnateAbsImp;
import com.dt.dubai.mber.service.ser.MberCustomerAccountService;
import org.springframework.stereotype.Service;

@Service
public class MberCustomerAccountServiceImp extends MberCustomerAccountSerInnateAbsImp implements MberCustomerAccountService {

    /*innateServiceStart*/
    @Override
    protected void userSavEntity(MberCustomerAccountEntity inEntity) {

    }

    @Override
    protected void userModEntity(MberCustomerAccountEntity inEntity, MberCustomerAccountEntity upEntity) {
        upEntity.setCustomerRecordId(inEntity.getCustomerRecordId()); // 顾客登录记录ID
        upEntity.setAccountBalance(inEntity.getAccountBalance()); // 账户余额
        upEntity.setIntegralBalance(inEntity.getIntegralBalance()); // 积分余额

    }
    /*innateServiceEnd*/
    /*以上内容请误删除或是移动，系统升级使用，static系统升级覆盖用户修改，用户代码请写入下方*/
}
